import request from "@/service/request";

// 获取table列表
const listModel = (query: any) => {
  return request({
    url: "/workflow/model/list",
    method: "get",
    params: query,
  });
};

// 虎丘流程图
const getBpmnXml = (modelId: string) => {
  return request({
    url: "/workflow/model/bpmnXml/" + modelId,
    method: "get",
  });
};

export { listModel, getBpmnXml };
